<!--<div id="main-banner"><img src="<?php echo base_url(); ?>images/accomodation_main.jpg" height="320" width="595"></div>-->
    <div id="breadcrumbs"><?php echo $breadcrumb; ?></div>


<div>    
  <div id="page_title">
      <p class="headings"><?php echo $customlinks[0]['title'];?></p>
     <!--<p>Price : $650<br>
       (per night)</p>-->
   </div>
   <div id="page_content">
       <?php //echo $customlinks[0]['desc'];?>
   </div>
   <div class="clear"></div>
   
    <div>
    <?php 
        //print_r($mainmenudetailarray);
        //$fac_cls = "";
        foreach ($mainmenudetailarray as $mainmenu_arr) :?>
            <div>	
                <div class="round-left_thumb">
                <p><img width="174" height="133" alt="" src="<?php echo base_url(); ?>images/uploads/thumb/thumb_<?php echo $mainmenu_arr['image']; ?>"></p>
                </div>
                <div class="round-details-col1">
                    <h5><?php echo $mainmenu_arr['title']; ?></h5><?php echo !empty($mainmenu_arr['ref_code'])?"<br/>Reference Code: ".$mainmenu_arr['ref_code']:''; ?>
                    <div class="rd-sub-heading">Tours</div>
                    <div>
                        <?php echo strlen($mainmenu_arr['shortdesc'])>500?substr($mainmenu_arr['shortdesc'], 0, 500)."...":$mainmenu_arr['shortdesc']; ?>
                    </div>
                </div>
                <div class="round-details-col2">
                    <p> p.&nbsp;P. from €</p>
                    <p class="rd-price"><?php echo number_format($mainmenu_arr['cost'], 0, ',', '.'); ?></p>
                    <div class="rd-txt"><?php echo $mainmenu_arr['occupation_status']; ?><br>Dates:   <?php echo date("F",strtotime($mainmenu_arr['date_from'])); ?> <?php echo date("j",strtotime($mainmenu_arr['date_from'])); ?> to <?php echo date("F",strtotime($mainmenu_arr['date_to'])); ?> <?php echo date("j",strtotime($mainmenu_arr['date_to'])); ?>  </div>
                    <p><a href="<?php echo base_url(); ?>pages/details/<?php echo $mainmenu_arr['mainmenu_id']; ?>/<?php echo $link_id; ?>/<?php echo strtolower(str_replace(' ', '-', $mainmenu_arr['title'])); ?>"><img width="112" height="27" src="<?php echo base_url(); ?>images/all-travel-details-btn.jpg"></a></p>
            </div>
            <div class="clear"></div><div class="rd-sep"></div>
            </div>
    <?php endforeach; ?>
    </div>    
</div>
    <div id="pagecontroller"><?php echo $pagination;?></div>
<div class="clear"></div>